<?php
/**
 * Created by PhpStorm.
 * User: apple
 * Date: 2018/7/24
 * Time: 下午10:27
 */
namespace PddWechat\Models\Pos\Data;
use PddWechat\Models\Pos\Dao\PosActivateDao;
use PddWechat\Models\Pos\DataObject\PosActivateDo;

class PosActivateData
{
    public function __construct()
    {
        $this->posActivateDao = new PosActivateDao();
    }

    public function insert(PosActivateDo $posActivateDo)
    {
        return $this->posActivateDao->insert($posActivateDo);
    }

    public function select(string $orderNum)
    {
        return $this->posActivateDao->select($orderNum);
    }
}